package ecnu.ecgbackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

@Data
@TableName("medical_records")
public class MedicalRecords implements Serializable {
    private static final long serialVersionUID=1L;
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private Long patientId;
    private Date visitDate;
    private String doctor;
    private String diagnosis;
    private String prescription;
}
